package com.holly.unit.deform.designer.model;

import lombok.Data;

/**
 * 类描述: 规则 格式如下
 *
 * "rules": [
         {
         "type": "email",
         "message": "请输入正确邮箱"
         },
         {
         "required": true,
         "message": "请输入"
         },
         {
         "pattern": "####*****",
         "message": "asdasda"
         },
         {
         "func": "阿斯达所大所大所"
         }
    ]
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/7/22 13:55
 */
@Data
public class Rule {

    private String message;

    private Boolean required;

    private String type;

    private String script;

    private String pattern;

    private String func;
}
